package com.itheima.d14_extends_constructor;

public class Zi extends Fu{
    private String skill;

    public Zi(String name,int age,String skill){
        super(name,age);
        this.skill=skill;
    }
    public Zi(String name,int age){
        this(name,age,"未知");
    }

    @Override
    public String toString() {
        return "{name:"+super.getName()+",age:"+super.getAge()+",skill:"+skill+"}";
    }
}
